package com.devshephard.rpcframework.rpc.service.testservice;


import com.devshephard.rpcframework.rpc.annotation.DoRpc;
import com.devshephard.rpcframework.rpc.annotation.RpcClient;
import org.springframework.stereotype.Component;


@RpcClient(value = "simple-rpc-provider")
@Component
public interface RpcService {

    @DoRpc(value = "http://localhost:8001/payment/get/{id}" , afterHandlerClass = TestRpcAfterHandle.class)
    public String getTestString(String uId);


}
